module.exports = {
  presets: ['@vue/cli-plugin-babel/preset'],
    "plugins": [
    [
      "component",
      {
        "libraryName": "element-ui",
        "styleLibraryName": "theme-chalk"
      }
    ],
  //   ["import", {
  //   "libraryName": "view-design",
  //   "libraryDirectory": "src/components"
  // }]
  [
      "import",
      { libraryName: "ant-design-vue", libraryDirectory: "es", style: true }
    ]

  ]
}
// if (process.env.NODE_ENV === 'production') {
//   // todo  if判断是否打包,打包环境下控制台去掉console.log,也可去掉if判断，整个项目不会出现console.log(不建议)
//   plugins.push('transform-remove-console')
// }
